package com.xh.bussiness.teachbook.service;

import com.xh.bussiness.teachbook.bean.dto.TeachingBookReportDto;
import com.xh.bussiness.teachbook.bean.request.SubmitStudentResultRequest;
import com.xh.bussiness.teachbook.model.TeachingBookStudentResult;
import com.xh.core.service.IBaseService;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author Pitt zhang
 * @since 2019/9/11
 */
public interface ITeachingBookStudentResultService extends IBaseService<TeachingBookStudentResult> {

    /**
     * 保存学生备课作答结果
     */
    String submitTeachingBookStudentResult(List<SubmitStudentResultRequest> studentResultRequests);

  /*  *//**
     * 查询备课作答情况
     *//*
    StudentQuestionResultDto queryStudentTeachingBookResult(String studentId,String teachingBookId,Integer searchType);
*/
    /**
     * 学生备课成绩报告
     */
    TeachingBookReportDto queryTeachingBookStudentReport(String studentId,String teachingBookId);

    void submitNowTeachingBookStudentResult(SubmitStudentResultRequest submitStudentResultRequest);

    void submitPreTeachingBookPracticeStudentResult(SubmitStudentResultRequest submitStudentResultRequest);

    TeachingBookStudentResult queryByIdStudentAndTeachingBookId(String studentId,String teachingBookId);
}
